#include <stdio.h>

double average( double arr[], int n)
{
	int i;
	double sum=0;
	for(i=0;i<n;i++)
	{
		sum=arr[i]+sum;
	}
	return sum/n;
}

int main(void)
{
    double a[100];
    int i, n;
    
    scanf("%d", &n);
    
    for(i=0; i<n; i++)
    {
        scanf("%lf", &a[i]);
    }
    
    printf("average = %.3f\n", average(a, n));
    
    return 0;
}
